Socket Programming Questions

Table of Contents

What happens when you visit a website? What exactly goes on after you type a URL into a browser?

Difference between UDP and TCP.

Difference between asynchronous and synchronous sockets.

What is a packet.

How'd you determine if packet didn't arrive malformed.

How'd you determine where one packet ends and where another one starts.

What is a port.

Prototype a web server

Prototype a web client

What is the difference between client/server and p2p

How would you connect to www.google.com asynchronously?

Author: Shi Shougang

Created: 2015-03-05 Thu 23:20

Emacs 24.3.1 (Org mode 8.2.10)

Validate